home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 019 / symp6.arc / FILGE.HLP < prev    next >
Encoding:
Text File  |  1984-11-24  |  14.4 KB  |  416 lines

  1.  FORUM HELP SERIES
  2.  
  3.  FILE: FILGE.HLP
  4.  REV:  11/07/84
  5.  
  6.                            THE CIS FILGE EDITOR
  7.  
  8.  Filge is an editor that may be used to create text for messages here on the
  9.  Forum.  It is also available in your personal file area and for Email on
  10.  CompuServe.  The version here on the Forum is just a little different from the
  11.  FILGE editor used in those other two areas.  Those who are are already
  12.  familiar with FILGE will only need to read the first part of this file.
  13.  
  14.  All FILGE commands start with a slash (/) in the right most column of your
  15.  screen.  Following is an alphabetic list of the FILGE commands.
  16.  
  17.    A          ACOPY      ACPYF      ACPYL      ACPYS      AMOVE      AMOVF
  18.    AMOVL      AMOVS      B         *BNAME      C         *CMD        COPY
  19.    CPYF       CPYL       CPYS      *CORE       D         *DOCMD     *EXCNT
  20.    EXIT (EX)  F         *FCSOFF    *FCSON     *FILE      *FILGE     *GC
  21.    GET       *GO         HELP (H)   I          Insertion *KC        *KD
  22.   *KGC       *KI        *KL        *KM        *KP        *KSET      *KW
  23.    L         *MERGE      MOVE       MOVF       MOVL       MOVS       N
  24.    O          P          POS        R         *RESET      S         *SPOFF
  25.   *SPON      *SSOFF     *SSON       Syntax     T         *TCNT      *UNC
  26.    W
  27.  
  28.  The commands marked by an asterisk are not available in the Forum version.  The
  29.  missing commands deal with files, cursor movements, and special prints modes
  30.  which have little meaning here in the Forum.  The EXIT command is shortened to
  31.  EX and the HELP command is shortened to H.
  32.  
  33.  The top line of a FILGE file is always blank.  Any line on which you begin by
  34.  typing any character other than a slash (/) will be inserted in the file
  35.  immediately following the last line displayed.  If you use the /T command to
  36.  move to the top of the file and begin typing, the new line will be inserted
  37.  at the top of the file.  If you use the /Pn command to print n lines (n is
  38.  to be replaced by a number which is the number of lines to use starting from
  39.  the the current line which is the line last displayed or immediately above the
  40.  cursor position) and then begin to type a new line, it will be inserted just
  41.  after the last line printed.  If you use the /P command to print the current
  42.  line and then use the /D command to delete one line, the line just printed
  43.  will be the line deleted.
  44.  
  45.  The most commonly used commands are those which use a single letter.  The
  46.  following table lists the command, shows an example, and gives a short
  47.  description of its use:
  48.  
  49.  Command  Example            Description
  50.  A        /a/ to the end./   Append text to the current line.
  51.                              In this example " to the end." is added to the end
  52.                              of the current line of text.
  53.  B        /b                 Move to the bottom of the text.
  54.  C        /c/str1/str2       Change a string of characters in the current line
  55.                              to another string of characters.  In this case
  56.                              str1 replaces str2 in the line.
  57.  D        /d3                Delete n lines of text starting with the current
  58.                              line.  The example deletes three lines.
  59.  EX       /ex                Exit from editing.  This will return you to the
  60.                              Leave Option:  prompt and you may Continue, Save,
  61.                              and the other message leave options now available.
  62.  F        /f/find this/      Find a string at the start of a line (leading
  63.                              nonprinting characters are significant).  The
  64.                              strin must be complete on a single line and the
  65.                              search will start from the beginning of the
  66.                              current line and proceed to the bottom of the
  67.                              text.  The string "find this" is located by this
  68.                              example if it is found at the beginning of a line.
  69.                              If not the message "[ bottom of text ]" is
  70.                              displayed.
  71.  H        /h copy            Print a help message on the screen.  The example
  72.                              will describe the copy command.
  73.  I        /i/Start here:/    Insert a line of text after the current line.
  74.                              This will insert a line that is:
  75.                              "Start here:"
  76.  L        /l/find this/      Find the first occurrence of a string.  This
  77.                              example finds the string "find this" in the text
  78.                              on a single line starting the search from the
  79.                              current line and extending to the bottom.
  80.  N        /20                Move a specified number of lines.  The N need not
  81.                              be displayed.  The example moves 20 lines down in
  82.                              the text.  A negative number moves the number of
  83.                              lines toward the top.  Both count from the current
  84.                              line.
  85.  O        /o3                Delete the specified number of lines and position
  86.                              the line pointer to the line just before the first
  87.                              line deleted.  The example deletes three lines.
  88.  P        /p20               Print the specified number of lines starting with
  89.                              the current line.  This will print 20 lines.
  90.  R        /r/to be done.     Replace the current line with the following text.
  91.                              This replaces the current line with "to be done.".
  92.  S        /s/find this/      Search for a line starting with the string,
  93.                              ignoring leading nonprinting characters.  This
  94.                              example finds a line starting with "find this".
  95.  T        /t                 Move the line pointer to the imaginary line at the
  96.                              top of the file.
  97.  W        /w                 Display the position of the line pointer.  This
  98.                              is the line number of the current line.  The
  99.                              imaginary line at the top of the file is line 0.
  100.  
  101.  Each command and it's syntax (the form and content of the command) follow this
  102.  short discussion of the most commonly used commands.  They are presented in
  103.  alphabetic order.  This is an editied file containing the help available in
  104.  the FILGE editor on the Forum.
  105.  
  106.  The syntax of a command is as follows:
  107.  
  108.  commanline ->
  109.    implieinsertion |
  110.    '/' commanlist
  111.  
  112.  commanlist -> group [ ',' group ]...
  113.  
  114.  group ->
  115.    [repeacount]{ command |
  116.    '(' commanlist ')'
  117.  
  118.  
  119.  Further HELP is available by typing
  120.           ? x , where x
  121.  is one of the following commands.
  122.  
  123.  command ->
  124.  
  125.  A[/string/]               | ACOPY[n] |
  126.  ACPYF[/string/]           | ACPYL[n][/string/] |
  127.  ACPYS[/string/]           | AMOVE[n] |
  128.  AMOVF[/string/]           | AMOVL[n][/string/] |
  129.  AMOVS[/string/]           | B |
  130.  C[n][/strin1/string-2/] | COPY[N] |
  131.  CPYF[/string/]            | CPYL[n][/string/] |
  132.  CPYS[/string/]            | D[n] |
  133.  EX                        | F[string] |
  134.  GET                       | I/string/ |
  135.  L[n][/string/]            | MOVE[n] |
  136.  MOVF[/string/]            | MOVL[n][/string/] |
  137.  MOVS[/string/]            | [N][-][n] |
  138.  O[n]                      | P[n] |
  139.  POS[n]                    | R/string/ |
  140.  S[/string/]               | T |
  141.  W                         |
  142.  
  143.   /? a
  144.  
  145.  The A command appends the specified string to the end of the current line.
  146.   Format:
  147.        A[/string/]
  148.  
  149.   /? h
  150.  
  151.  H is the general Help facility.  You may also use ?. For HELP on a specific
  152.  subject enter /H followed by the subject.  In addition to HELP for each
  153.  individual command there is HELP available for Syntax and Insert.
  154.   Format:
  155.      H [subject] or ? [subject]
  156.  
  157.   /? acopy
  158.  
  159.  The ACOPY command copies a specified number of lines from the file and appends
  160.  them to the text buffer's current contents.
  161.   Format:
  162.        ACOPY[n]
  163.  
  164.   /? acpyf
  165.  
  166.  The ACPYF command copies all lines from the current line up to, but excluding,
  167.  the first line found that begins with the specified string, and appends them to
  168.  the text buffer's current contents.
  169.   Format:
  170.        ACPYF[/string/]
  171.  
  172.   /? acpyl
  173.  
  174.  The ACPYL command copies all lines from the current line up to, but excluding,
  175.  the first line found that contains the specified string, and appends them to
  176.  the text buffer's current contents.
  177.   Format:
  178.        ACPYL[/string/]
  179.  
  180.   /? acpys
  181.  
  182.  The ACPYS command copies all lines from the current line up to, but excluding,
  183.  the first line found that begins with the specified string (ignoring
  184.  nonprinting leading characters), and appends them to the text buffer's current
  185.  contents.
  186.   Format:
  187.        ACPYS[/string/]
  188.  
  189.   /? amove
  190.  
  191.  The AMOVE command deletes a specified number of lines from the file and appends
  192.  them to the text buffer's current contents.
  193.   Format:
  194.        AMOVE[n]
  195.  
  196.   /? amovf
  197.  
  198.  The AMOVF command deletes all lines from the current line up to, but excluding,
  199.  the first line found that begins with the specified string, and appends them to
  200.  the text buffer's current contents.
  201.   Format:
  202.        AMOVF[/string/]
  203.  
  204.   /? amovl
  205.  
  206.  The AMOVL command deletes all lines from the current line up to, but excluding,
  207.  the first line found that contains the specified string, and appends them to
  208.  the text buffer's current contents.
  209.   Format:
  210.        AMOVL[/string/]
  211.  
  212.   /? amovs
  213.  
  214.  The AMOVS command deletes all lines from the current line up to, but excluding,
  215.  the first line found that begins with the specified string (ignoring
  216.  nonprinting leading characters), and appends them to the text buffer's current
  217.  contents.
  218.   Format:
  219.        AMOVS[/string/]
  220.  
  221.   /? b
  222.  
  223.  The B command moves the line pointer to the last line in the file.
  224.   Format:
  225.        B
  226.  
  227.   /? c
  228.  
  229.  The C command changes the n'th occurrence of an old string on the line to a new
  230.  string; deletes the n'th occurrence of the old string; or inserts a new string
  231.  at the beginning of the line.
  232.   Format:
  233.        C[n]{[/old-string/new-string/]
  234.  
  235.            { /old-string/
  236.  
  237.            { //new-string/
  238.  
  239.  
  240.   /? copy
  241.  
  242.  The COPY command copies a specified number of line from the file to the empty
  243.  text buffer.
  244.   Format:
  245.        COPY[n]
  246.  
  247.   /? cpyf
  248.  
  249.  The CPYF command copies all lines from the current line up to, but excluding,
  250.  the first line found that begins with the specified string, to the empty text
  251.  buffer.
  252.   Format:
  253.        CPYF[/string/]
  254.  
  255.   /? cpyl
  256.  
  257.  The CPYL command copies all lines from the current line up to, but excluding,
  258.  the first line found that contains the specified string, to the empty text
  259.  buffer.
  260.   Format:
  261.        CPYL[/string/]
  262.  
  263.   /? cpys
  264.  
  265.  The CPYS command copies all lines from the current line up to, but excluding,
  266.  the first line found that begins with the specified string (ignoring leading
  267.  nonprinting characters), to the empty text buffer.
  268.   Format:
  269.        CPYS[/string/]
  270.  
  271.   /? d
  272.  
  273.  The D command deletes the specified number of lines from the file, starting
  274.  with the current line.
  275.   Format:
  276.        D[n]
  277.  
  278.   /? ex
  279.  
  280.  The EXIT command closes the file and returns control to ICS command mode.
  281.   Format:
  282.        EXIT or EX
  283.  
  284.   /? f
  285.  
  286.  The F command searches for the first occurrence of the specified string at the
  287.  start of a line (leading nonprinting characters are significant).
  288.   Format:
  289.        F[/string/]
  290.  
  291.   /? get
  292.  
  293.  The GET command inserts the contents of the text buffer into the current file,
  294.  immediately following the current line.
  295.   Format:
  296.        GET
  297.  
  298.   /? i
  299.  
  300.  The I command inserts the specified string into the file at a line following
  301.  the current line.
  302.   Format:
  303.        I[/string/]
  304.  
  305.   /? l
  306.  
  307.  The L command searches forward in the file for the first line containing the
  308.  specified number of occurrences of the indicated string.
  309.   Format:
  310.        L[n][/string/]
  311.  
  312.   /? move
  313.  
  314.  The MOVE command deletes the specified number of lines from the file and moves
  315.  the deleted lines to the empty text buffer.
  316.   Format:
  317.        MOVE[n]
  318.  
  319.   /? movf
  320.  
  321.  The MOVF command deletes all lines from the current line up to, but excluding,
  322.  the first line found that begins with the specified string, and moves those
  323.  lines to the empty text buffer.
  324.   Format:
  325.        MOVF[/string/]
  326.  
  327.   /? movs
  328.  
  329.  The MOVS command deletes all line from the current line up to, but excluding,
  330.  the first line that begins with the specified string (ignoring leading
  331.  nonprinting characters), and moves those lines to the empty text buffer.
  332.   Format:
  333.        MOVS[/string/]
  334.  
  335.   /? movl
  336.  
  337.  The MOVL command deletes all lines from the current line up to, but excluding,
  338.  the first line found that contains the specified string, and moves those lines
  339.  to the empty text buffer.
  340.   Format:
  341.        MOVL[/string/]
  342.  
  343.   /? n
  344.  
  345.  The N command moves the line pointer forward the specified number of lines (if
  346.  the number is positive) or backwards (if the number is negative).
  347.   Format:
  348.        [N][n]
  349.  
  350.   /? o
  351.  
  352.  The O command deletes the specified number of lines and positions the line
  353.  pointer to the line just before the first line deleted.
  354.   Format:
  355.        O[n]
  356.  
  357.   /? p
  358.  
  359.  The P command prints the specified number of lines of the file, starting with
  360.  the current line.
  361.   Format:
  362.        P[n]
  363.  
  364.   /? pos
  365.  
  366.  The POS command moves the line pointer to the specified line in the file.
  367.   Format:
  368.        POS[n]
  369.  
  370.   /? r
  371.  
  372.  The R command replaces the current line with the specified string.
  373.   Format:
  374.        R[/string/]
  375.  
  376.   /? s
  377.  
  378.  The S command searches for the first line that starts with the specified
  379.  string, ignoring leading nonprinting characters.
  380.   Format:
  381.        S[/string/]
  382.  
  383.   /? syntax
  384.  
  385.  The format of a command line is:
  386.      /group ,... where "group" is
  387.      [count] { simple-command
  388.  
  389.              { ( group ,... )
  390.   Examples:
  391.      /N20
  392.      /N-20,P20,L/green/,P
  393.      /20L/green/
  394.      /20(L/green/,P,C/green/red/)
  395.  
  396.   /? t
  397.  
  398.  The T command moves the line pointer to an imaginary line at the top of the
  399.  file and makes any changes to the file permanent.
  400.   Format:
  401.        T
  402.  
  403.   /? w
  404.  
  405.  The W command displays the position of the line pointer.
  406.   Format:
  407.        W
  408.   /w
  409.   [ Line 0 ]
  410.  
  411.  [End of help]
  412.   /ex  (meaning, of course that this is the end of the text!)
  413.  
  414.  If you need further help, leave a message for SysOp.  We will be happy to
  415.  help you get around any problem or need for information.
  416.